function myAjax(url, data, type) {
    let result = null;
    $.ajax({
        url: url,
        data: data,
        type: type,
        async: false,
        dataType: 'json',
        success: function (data) {
            result = data;
        }
    });
    return result;
}
//String Object
function getTime(value) {
    return value == undefined ? '' : value.split(" ")[0];
}

function getString(value) {
    return value == undefined ? '' : value;
}
